﻿using UnityEngine;
using System.Collections;

public class AmmoMax : MonoBehaviour {

	// Use this for initialization
	void Start () {
	
	}
	
	// Update is called once per frame
	void Update () {
	
	}

    void OnClick()
    {
        transform.parent.FindChild("AmmoBarPointer").transform.localPosition = new Vector3(15.5f, 0);
        transform.parent.FindChild("AmmoBarPointer").GetComponent<AmmoBarPointer>().BuyingObj_NumCheck();
    }
}
